\<template>
  <div>
<div class="btnP">
<div class="btn" @click="registerClick">{{btnText}}</div>
</div>
  </div>
</template>

<script>
  export default {
 props:['btnText'],
 methods: {
   registerClick () {
     this.$emit('sendInfo')
   }
 }
  }
</script>

<style lang="less" scoped>
.btnP{
 padding: 0 2.778vw;
 .btn{
   height: 12.5vw;
   display: flex;
   justify-content: center;
   align-items: center;
   font-size: 4.444vw;
   color: white;
   background-color: #ffa9b5;
   border-radius: 6.25vw;
 }
}
</style>
